home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Greatest Hits 1996 / Amiga Games: Greatest Hits 1996.iso / archive / userbox / publicdomain / superviewel.lha / SuperViewEL / Install_SuperView < prev    next >
Text File  |  1996-06-18  |  4KB  |  121 lines

  1. ; $VER: Install_SuperView.script V5.43 (2.5.96)
  2. ; © 1993-96 by Andreas R. Kleinert.
  3. ; Italian strings by Alessandro Basso (cralex@dei.unipd.it)
  4.  
  5. (set selectlang (askchoice
  6.                    (prompt "")
  7.                    (help @askchoice-help)
  8.                    (choices "Deutsche Installation" "English Installation" "Italian Installation")
  9.                    (default 1)
  10.                  )
  11. )
  12.  
  13. (if (= selectlang 0) (set @language "deutsch")  )
  14. (if (= selectlang 1) (set @language "english")  )
  15. (if (= selectlang 2) (set @language "italiano") )
  16.  
  17. (if (= @language "deutsch")
  18.   (
  19.     (set MSG_wrong_OS       (cat "Sie benötigen mindestens OS V2.04 für SuperView !\n\n"
  20.                                  "SuperView wird auf Ihrem System nicht laufen !"))
  21.     (set MSG_InstallingSuperView "Installiere jetzt SuperView. Die Libraries müssen separat installiert werden !")
  22.     (set MSG_SelectPath          "Wählen Sie das Zielverzeichnis für SuperView")
  23.     (set MSG_InstallingCatalogs  "Installiere jetzt die Katalog-Dateien für die\nOS V2.1+ Sprach-Unterstützung.")
  24.     (set MSG_SelectCatalogPath   "Wählen Sie den Pfad für die Katalog-Dateien")
  25.     (set MSG_DoInstallSuperView  "SuperView wurde installiert.\nSie sollten nun SuperView-Library installieren,\nfalls nicht bereits geschehen.")
  26.     (set MSG_SuperViewPath       "Modifiziere jetzt S:User-Startup für einen Suchpfad...")
  27.     (set MSG_CopyPalette         "SuperViewPalette nach SYS:WBStartup kopieren ?\n(Nicht mit MagicWB, etc.)")
  28.   )
  29. )
  30.  
  31. (if (= @language "english")
  32.   (
  33.     (set MSG_wrong_OS       (cat "You need at least OS V2.04 to run SuperView !\n\n"
  34.                                  "SuperView will not run with your system configuration !"))
  35.     (set MSG_InstallingSuperView "Installing SuperView now. Libraries have to be installed separately !")
  36.     (set MSG_SelectPath          "Select path to install SuperView to")
  37.     (set MSG_InstallingCatalogs  "Installing Catalog-Files for OS V2.1+\nCode localization.")
  38.     (set MSG_SelectCatalogPath   "Select path to install Catalogs to")
  39.     (set MSG_DoInstallSuperView  "SuperView has been installed.\nYou should install SuperView-Library\nnow if not already done.")
  40.     (set MSG_SuperViewPath       "Now modifying your S:User-Startup for a search path...")
  41.     (set MSG_CopyPalette         "Copy SuperViewPalette to SYS:WBStartup ?\n(Not with MagicWB, etc.)")
  42.   )
  43. )
  44.  
  45. (if (= @language "italiano")
  46.   (
  47.     (set MSG_wrong_OS       (cat "Ti serve almeno AmigaOS V2.04 per usare SuperView !\n\n"
  48.                                  "SuperView non funzionerà con la tua configurazione di sistema !"))
  49.     (set MSG_InstallingSuperView "Ora installo SuperView. Le Librerie dovranno essere installate separatamente !")
  50.     (set MSG_SelectPath          "Seleziona il percorso dove installare SuperView")
  51.     (set MSG_InstallingCatalogs  "Installo File-Catalogo per OS V2.1+\nLocalizzazione del Codice.")
  52.     (set MSG_SelectCatalogPath   "Seleziona percorso in cui installare i Cataloghi")
  53.     (set MSG_DoInstallSuperView  "SuperView è stato installato.\nOra dovresti installare le SuperView-Library\nse non lo hai già fatto.")
  54.     (set MSG_SuperViewPath       "Ora modifico la tua S:User-Startup per il percorso di ricerca...")
  55.     (set MSG_CopyPalette         "Copy SuperViewPalette to SYS:WBStartup ?\n(Not with MagicWB, etc.)")
  56.   )
  57. )
  58.  
  59. (set OS_VER (/ (getversion) 65536) )
  60.  
  61. (if(< OS_VER 37)
  62.   (abort MSG_wrong_OS)
  63. )
  64.  
  65. (complete 0)
  66.  
  67. (copyfiles
  68.   (prompt MSG_Installing)
  69.   (help @copyfiles-help)
  70.   (source "")
  71.   (set svcomdir
  72.               (askdir
  73.                      (prompt MSG_SelectPath)
  74.                      (help @askdir-help)
  75.                      (newpath)
  76.                      (default "SYS:SuperView")
  77.               )
  78.   )
  79.   (dest svcomdir)
  80.   (all)
  81.   (confirm)
  82. )
  83.  
  84. (complete 70)
  85.  
  86. (copyfiles
  87.   (prompt MSG_InstallingCatalogs)
  88.   (help @copyfiles-help)
  89.   (source "locale/catalogs")
  90.   (set svcomdir
  91.               (askdir
  92.                      (prompt MSG_SelectCatalogPath)
  93.                      (help @askdir-help)
  94.                      (newpath)
  95.                      (default "SYS:locale/Catalogs")
  96.               )
  97.   )
  98.   (dest svcomdir)
  99.   (all)
  100.   (confirm)
  101. )
  102.  
  103. (copyfiles
  104.   (prompt MSG_CopyPalette)
  105.   (help @copyfiles-help)
  106.   (source "Tools")
  107.   (dest "SYS:WBStartup")
  108.   (pattern "SuperViewPalette#?")
  109.   (confirm)
  110. )
  111.  
  112. (startup "SuperView"
  113.   (prompt MSG_SuperViewPath)
  114.   (help @startup-help)
  115.   (command "Path "svcomdir" ADD\n")
  116. )
  117.  
  118. (complete 99)
  119.  
  120. (exit MSG_DoInstallSuperView)
  121.